package com.xyht.sca_s.student_manage_system.modules.assetConsumable.service;

import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.asset.entity.req.SmsAssetFixedStorageReq;
import com.xyht.sca_s.student_manage_system.modules.assetConsumable.entity.SmsAssetConsumableStorage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.modules.assetConsumable.entity.req.SmsAssetConsumableStorageDeletedReq;
import com.xyht.sca_s.student_manage_system.modules.assetConsumable.entity.req.SmsAssetConsumableStorageReq;

import java.util.Map;
import java.util.concurrent.Future;

/**
 * <p>
 * 易耗品资产库 服务类
 * </p>
 *
 * @author XYHT
 * @since 2023-06-27
 */
public interface SmsAssetConsumableStorageService extends IService<SmsAssetConsumableStorage> {

    ResponseResult singleAddConsumableStorage(SmsAssetConsumableStorageReq consumableStorageReq, String userId);

    ResponseResult getConsumableStorage(Integer pageNum, Integer pageSize, String searchStr, String consumableCategory, String consumableWarehouseId);

    ResponseResult getConsumableStorageById(String assetId);

    Future<ResponseResult> batchAddConsumableStorage(Map<String, Object> map, String userId);

    ResponseResult bathDeletedConsumableStorage(SmsAssetConsumableStorageDeletedReq deletedReq);
}
